/*
 * @Author: 邱狮杰
 * @Date: 2023-01-06 14:32:00
 * @LastEditTime: 2023-05-13 09:44:47
 * @Description:
 * @FilePath: /memo/packages/service/src/index.ts
 */

/**
 * 请求最佳实践
 *
 * @remarks
 * 该库
 *
 * @packageDocumentation
 */

import "reflect-metadata";
import { versionLog } from "./core/version";

versionLog();

export { RetData } from "./plugin/RetData";

export { MultiVersionSwitching, multiVersionSwitchingRequest } from "./plugin/multiVersionSwitching";

export { Cache, CacheConfig, CachePrerequisites, CacheTrigger, ExpirationTime, requestConfig } from "./plugin/cache";
export {LocalCache} from './plugin/cache/impl/local'

export { Logs } from "./plugin/logs/index";

export { Loading, LoadingOpt } from "./plugin/loading/index";

export { Retry, retryOpt } from "./plugin/retry";

export * from "./core/config";
export * from "./core/engine";
export * from "./core/instantiation";
export * from "./core/modules";
export * from "./core/serviceUtils";
export * from "./core/terminationResult";
export * from "./types/engine";
export * from "./types/interceptor";

